Higher Order Component - React Interview Question